package com.tan.lbs.dao;

import java.util.List;
import java.util.Map;

import com.tan.lbs.entity.Trigger;

public interface GameRuleDAO {
	/**
	 * 
	 * @param gameID
	 * @return It's map with entries <gameObjectID,List<associatedTriggerIDs>>
	 */
	List<String> getGameObjectAssociatedTriggerIDs(String gameID,String conditionType,String gameObjectID);
	
	/**
	 * 
	 * @param game
	 * @return It's map with entries <triggerID,Trigger>
	 */
	/*Map<String,Trigger>getConditionRuleSet(String gameID);*/
	
	Trigger loadTrigger(String triggerID,String gameID);
	
	void updateTriggerStatus(String triggerID,String status);
	
	List<String> retrieveTriggerIDs(String gameID);
}
